package com.sc.nft.controller.request;

import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
public class SecondCollectionPageRequest extends PageRequest {

    @ApiModelProperty("藏品类目id")
    private Long  id;

    @ApiModelProperty("排序类型 1、最新上架 2、价格升序 3、价格降序 4、最后上架")
    @Range(min = 0, max = 4, message = "排序类型范围不正确")
    private Integer sortType;
}
